import request from "./http";

//排行榜数据
// https://api.ecook.cn/pub/all/recipe/ranking
export function getRankingData(){
    return request({
        url:"pub/all/recipe/ranking",
        method:"get",
    })
}
//排行榜数据
// https://api.ecook.cn/pub/recipe/ranking/list
export function getRankinglistData(id,num){
    return request({
        url:`pub/recipe/ranking/list?rankingId=${id}&page=1&size=${num}`,
        method:"get",
    })
}